package com.wudl.govern.vo;

import java.util.Date;
import java.util.Date;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 元数据变更监控日志
 *
 * @author wudl
 */
@Data
@ApiModel
public class MetaLogVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "变更监控id")
    private Integer taskMonitorId;

    @ApiModelProperty(value = "表id")
    private Integer tableId;

    @ApiModelProperty(value = "变更对象")
    private String changeObj;

    @ApiModelProperty(value = "事件类型 1 :表属性变更 2：视图变更 3：函数变更 4：存储过程变更 5:新增表 6:删除表 7:新增函数 8：删除函数 9:新增视图 10:删除视图 11:新增存储过程 12:删除存储过程 ")
    private String eventType;

    @ApiModelProperty(value = "变更时间")
    private Date changeDate;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "修改人")
    private String uppUser;

    @ApiModelProperty(value = "修改时间")
    private Date uppDate;

    @ApiModelProperty(value = "数据状态（1：有效，2：失效）")
    private Integer dataState;

    @ApiModelProperty(value = "db_source_id")
    private Integer dbSourceId;

    @ApiModelProperty(value = "db_source_name")
    private String dbSourceName;

}